﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Shared
{
    public enum ErrorCode
    {
        Success = 3,
        Failure = 4
    }

    public class DefaultFaultContract
    {
        public DefaultFaultContract()
        {
            this.Name = "Sanjay Singh";
            this.Address = "Gurgaon";
            this.Val = 10;
            this.ErrorCode = ErrorCode.Success;
        }
        public string FaultMessage
        {
            get;
            set;
        }

        public string Name
        {
            get;
            set;
        }

        public string Address
        {
            get;
            set;
        }

        public int Val
        {
            get;
            set;
        }
        public ErrorCode ErrorCode
        {
            get;
            set;
        }
    }
}
